﻿var jsHost = "../Resource";
var scriptElements = document.getElementsByTagName("script");
var script = scriptElements[scriptElements.length - 1];
var results = (/[^\?#&]+[\?#&]{1}release=([^&]+)&*/gi).exec(script.src);
var release = 0;
if (results) {
    release = results[1];
}
results = (/[^\?#&]+[\?#&]{1}callback=([^&]+)&*/gi).exec(script.src);
var init = "init";
if (results) {
    init = results[1];
} 
document.write('<script type="text/javascript" src="' + jsHost + '/Load.js?callback='+init+'&skin=default&release='+release+'"></script>');